


TAC(1L)           MISC. REFERENCE MANUAL PAGES            TAC(1L)



NAME
     tac - concatenate and print files in reverse

SYNOPSIS
     tac    [-br]    [-s    separator]    [--before]    [--regex]
     [--separator=separator] [file...]

DESCRIPTION
     This manual page documents the  GNU  version  of  tac.   tac
     copies  each  given  file, or the standard input if none are
     given or when a file name of  `-'  is  encountered,  to  the
     standard output with the order of the records reversed.  The
     records are separated by instances of a string, or a newline
     if  none  is  given.   By  default,  the separator string is
     attached to the end of the record that  it  follows  in  the
     file.

  OPTIONS
     -_b, --_b_e_f_o_r_e
          The separator is  attached  to  the  beginning  of  the
          record that it precedes in the file.

     -_r, --_r_e_g_e_x
          The separator is a regular expression.

     -_s, --_s_e_p_a_r_a_t_o_r _s_e_p_a_r_a_t_o_r
          Use _s_e_p_a_r_a_t_o_r as the record separator.

     The long-named options can be introduced with `+' as well as
     `--',  for compatibility with previous releases.  Eventually
     support for `+' will be removed, because it is  incompatible
     with the POSIX.2 standard.























Sun Release 4.1           Last change:                          1



